<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/static/commons/taglibs.jsp"%>
<%@ include file="/static/commons/meta.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>${title }</title>
    <!--自定义index样式-->
    <link rel="stylesheet" href="${ctx }/static/styles/basic/basic.css"></link>
    <link rel="stylesheet" href="${ctx }/static/styles/edit/tableStyle.css"></link>
    <!--js库-->
    <%@ include file="/static/commons/jquery-easyui.jsp"%>
    <script type="text/javascript" src="${ctx}/static/scripts/set_select.js"></script>
    <script type="text/javascript" src="${ctx}/static/scripts/WdatePicker/WdatePicker.js"></script>
    <script type="text/javascript">
        var headers = {};
        headers['__RequestVerificationToken'] = "${RequestVerificationToken}";
        var _root="${ctx}";
        var _rs=${not empty rs ? rs : ""};
    </script>
    <style type="text/css">
        body{overflow: hidden; padding: 10px 20px;}
        #add-cust{position: relative; top: 4px; right: -8px;}
        .table-utd select{width: 64px !important;}
        .table-utd tbody td:first-child {width: 20px; text-align: center;}
        .table-utd tbody td:last-child {width: 40px; text-align: center;}
        .table-utd tfoot{display: none;}
        #qjy input[type='text']{height: 100%; }
        .gasDiv{width:100px; min-height: 26px; border: 0; font-size: 12px;text-align: left;}
        .gasDiv input{width:inherit; height:inherit; cursor: pointer;}
        .gasDiv label{margin: 2px; display: inline-block; cursor: pointer; min-width: 43px;}
        .gasDiv span{width:100%;display:block; text-align:center; line-height: 26px; height: 26px;}
    </style>
</head>

<body>

<form id="editForm" action="${ctx}/standardMeasureScope/saveConfigureItem" method="post">
    <input type="hidden" name="scopeId" value="${scopeId}"/>
    <table class="table-ltr">
        <caption>
            量程配置
            <label> 测量范围： ${not empty map.measureScope ? map.measureScope : ""}</label>
            <label> 气体名称： ${not empty map.deviceName ? map.deviceName : ""}</label>
            <label> 设备类别： ${not empty map.deviceTypeName ? map.deviceTypeName : ""}</label>
            <input type="submit" value="保存" style="width:70px;height: 30px;background-color: #de4b39;cursor: pointer;color:#fff"/>

        </caption>
    </table>

    <div  class="tab">
        <div class="tab-header">
            <ul>
                <li class="s0">标准物质</li>
                <li>计量标准装置</li>
                <li>计量设备</li>
            </ul>
        </div>
        <div class="tab-body">
            <!-- 标准物质 -->
            <div class="tab-content s0">
                <table class="table-utd">
                    <thead>
                    <tr>
                        <th>&nbsp;</th>
                        <th class="non-empty">物质名称</th>
                        <th class="non-empty">量程范围</th>
                        <th class="non-empty">计量单位</th>
                        <th class="non-empty">不确定度/标准度等级/最大允许误差</th>
                        <th class="non-empty">证书编号</th>
                        <th class="non-empty">有效期至</th>
                        <th class="non-empty">状态</th>
                        <th class="non-empty" style="width:50px;">排序</th>
                        <th><div class="btn-add" id="addBzwzId" title="添加标准物质"></div></th>
                    </tr>
                    </thead>
                    <tbody id="bzwzTbodyId">

                    </tbody>

                </table>
            </div>

            <!-- 计量标准装置 -->
            <div class="tab-content">
                <table class="table-utd">
                    <thead>
                    <tr>
                        <th>&nbsp;</th>
                        <th class="non-empty">装置名称</th>
                        <th class="non-empty">测量范围</th>
                        <th class="non-empty">不确定度/标准度等级/最大允许误差</th>
                        <th class="non-empty">证书编号</th>
                        <th class="non-empty">有效期至</th>
                        <th class="non-empty">状态</th>
                        <th class="non-empty" style="width:50px;">排序</th>
                        <th><div class="btn-add" title="添加计量标准装置" id="addJlbzzzId"></div></th>
                    </tr>
                    </thead>
                    <tbody id="jlbzzzTbodyId">

                    </tbody>

                </table>
            </div>

            <!-- 计量设备 -->
            <div class="tab-content">
                <table class="table-utd">
                    <thead>
                    <tr>
                        <th>&nbsp;</th>
                        <th class="non-empty">装置名称</th>
                        <th class="non-empty">测量范围</th>
                        <th class="non-empty">不确定度/标准度等级/最大允许误差</th>
                        <th class="non-empty">证书编号</th>
                        <th class="non-empty">有效期至</th>
                        <th class="non-empty">状态</th>
                        <th class="non-empty" style="width:50px;">排序</th>
                        <th><div class="btn-add" title="添加计量装置" id="addJlzzId"></div></th>
                    </tr>
                    </thead>
                    <tbody id="jlzzTbodyId">

                    </tbody>

                </table>
            </div>
        </div>
    </div>

</form>
</body>
<script type="text/javascript" src="${ctx}/static/js/base/standard/measureScope/editTemplate.js"></script>
</html>